home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Text / print / HPDJ400Src.lha / printertag.asm < prev    next >
Assembly Source File  |  1999-11-21  |  2KB  |  74 lines

  1. *
  2. * HP_Deskjet_400C 
  3. *
  4. **********************************************************************
  5. *
  6. *       printer device dependent code tag (printertag.asm)
  7. *
  8. **********************************************************************
  9.  
  10.         SECTION         printer
  11.  
  12. *------ Included Files -----------------------------------------------
  13.  
  14.         INCLUDE         "exec/types.i"
  15.         INCLUDE         "exec/nodes.i"
  16.         INCLUDE         "exec/strings.i"
  17.  
  18.         INCLUDE         "hp_rev.i"
  19.  
  20.         INCLUDE         "devices/prtbase.i"
  21.  
  22.  
  23. *------ Imported Names -----------------------------------------------
  24.  
  25.         XREF            _Init
  26.         XREF            _Expunge
  27.         XREF            _Open
  28.         XREF            _Close
  29.         XREF            _CommandTable
  30.         XREF            _PrinterSegmentData
  31.         XREF            _DoSpecial
  32.         XREF            _Render
  33.         XREF            _ExtendedCharTable
  34.         XREF            _ConvFunc
  35.  
  36. *------ Exported Names -----------------------------------------------
  37.  
  38.         XDEF            _PEDData
  39.  
  40.  
  41. **********************************************************************
  42.  
  43.                 MOVEQ   #0,D0           ; show error for OpenLibrary()
  44.                 RTS
  45.                 DC.W    VERSION
  46.                 DC.W    REVISION
  47. _PEDData:
  48.                 DC.L    printerName
  49.                 DC.L    _Init
  50.                 DC.L    _Expunge
  51.                 DC.L    _Open
  52.                 DC.L    _Close
  53.                 DC.B    PPC_COLORGFX    ; PrinterClass
  54.                 DC.B    PCC_YMCB        ; ColorClass
  55.                 DC.B    0               ; MaxColumns
  56.                 DC.B    0               ; NumCharSets
  57.                 DC.W    1               ; NumRows
  58.                 DC.L    600             ; MaxXDots
  59.                 DC.L    795             ; MaxYDots
  60.                 DC.W    75              ; XDotsInch
  61.                 DC.W    75              ; YDotsInch
  62.                 DC.L    _CommandTable   ; Commands
  63.                 DC.L    _DoSpecial
  64.                 DC.L    _Render
  65.                 DC.L    60             ; Timeout
  66.                 DC.L    _ExtendedCharTable      ; 8BitChars
  67.                 DS.L    1               ; PrintMode (reserve space)
  68.                 DC.L    _ConvFunc       ; ptr to char conversion function
  69.  
  70. printerName:
  71.                 dc.b    'HP_DeskJet_400C',0
  72.  
  73.                 END
  74.